Versions:

  • 4.28.0
  • 4.27.0
  • 4.26.0
  • 4.25.2
  • 4.25.0
  • 4.24.0
  • 4.23.0
  • 4.22.0
  • 4.21.0
  • 4.20.1
  • 4.20.0
  • 4.19.0

Lean 4.28.0, released by Lean FRO, is the twelfth iteration of a functional programming language engineered to produce verifiably correct and maintainable code while doubling as an interactive theorem prover. Rooted in dependent type theory, the system lets developers express program specifications and mathematical proofs within the same language, enabling property-based verification without external tools. Core development centers on declaring custom inductive types and pure functions, shifting attention from low-level implementation details to the structure of the problem domain. The compiler automatically infers most types, supports first-class functions, and provides pattern-matching syntax that exhaustively covers algebraic data types; type classes supply ad-hoc polymorphism, and hygienic macros allow seamless syntax extension. Advanced capabilities include a metaprogramming framework that can manipulate the abstract syntax tree at compile time, multithreading for parallel evaluation, and a small trusted kernel that checks every proof for logical consistency. These features make Lean equally attractive for software engineers who need runtime correctness guarantees and for mathematicians formalizing abstract theories. Typical use cases range from certified systems programming and compiler construction to undergraduate logic courses and large-scale math libraries such as mathlib4. Lean is available for free on get.nero.com; downloads are provided via trusted Windows package sources (e.g., winget), always delivering the latest version and supporting batch installation of multiple applications.

Tags: